package com.lengxf.leetcode.a;

import java.util.Random;

public class GenerateArr {
    public static int[] getArr(int length) {
        int[] arr = new int[length];
        Random random = new Random();
        for (int i = 0; i < arr.length; i++) {
            arr[i] = random.nextInt(100);
        }
        return arr;
    }

}
